package aom.ju.ss.mode

import java.io.Serializable

class PAdapter2Mode : Serializable {
    var type: Int
    var gid = 0
        private set
    var con = 0
        private set
    var data: Any? = null
        private set

    fun setData(data: Any?): PAdapter2Mode {
        this.data = data
        return this
    }

    constructor(type: Int, data: Any?) {
        this.type = type
        this.data = data
    }

    fun setCon(con: Int): PAdapter2Mode {
        this.con = con
        return this
    }

    constructor(type: Int) {
        this.type = type
    }

    fun setGid(gid: Int): PAdapter2Mode {
        this.gid = gid
        return this
    }
}